package com.yuhs.zixing.study.design.pattern.dp002.create.c004.builder.b002;

/**
 * @description:
 * @author: yuhs
 * @date: 2022/4/29 9:37 AM
 */
public class Client002 {

    public static void main(String[] args) {
        CommonHouse002 commonHouse002 = new CommonHouse002();
        HouseDirector002 houseDirector002 = new HouseDirector002(commonHouse002);
        final House002 house002 = houseDirector002.constructHouse();
        System.out.println("-------------------------------");
        HighHouse002 highHouse002 = new HighHouse002();
        houseDirector002.setHouseBuilder002(highHouse002);
        final House002 house0021 = houseDirector002.constructHouse();
    }
}
